package com.sjgtw.cloud.web.rainfallGauge.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 雨量计管理对象 t_eg_rainfall_gauge
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class RainfallGauge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 区段id */
    @Excel(name = "区段id")
    @ApiModelProperty("区段id")
    private Long sectionId;

    /** 工区id */
    @Excel(name = "工区id")
    @ApiModelProperty("工区id")
    private Long workAreaId;

    /** 责任人id */
    @Excel(name = "责任人id")
    @ApiModelProperty("责任人id")
    private String personId;

    /** 安装地点 */
    @Excel(name = "安装地点")
    @ApiModelProperty("安装地点")
    private String location;


    /** 位置纬度 */
    @Excel(name = "位置纬度")
    @ApiModelProperty("位置纬度")
    private String lat;

    /** 位置经度 */
    @Excel(name = "位置经度")
    @ApiModelProperty("位置经度")
    private String lon;


    /** 公里标 */
    @Excel(name = "公里标")
    @ApiModelProperty("公里标")
    private Double kilometer;

    /** 雨量计类型 */
    @Excel(name = "雨量计类型")
    @ApiModelProperty("雨量计类型")
    private Long type;

    /**
     * 所属警戒值区域id
     */
    private Long rainfallRangeId;

    public Double getKilometer() {
        return kilometer;
    }

    public void setKilometer(Double kilometer) {
        this.kilometer = kilometer;
    }

    public Long getRainfallRangeId() {
        return rainfallRangeId;
    }

    public void setRainfallRangeId(Long rainfallRangeId) {
        this.rainfallRangeId = rainfallRangeId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSectionId(Long sectionId) 
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId() 
    {
        return sectionId;
    }
    public void setWorkAreaId(Long workAreaId) 
    {
        this.workAreaId = workAreaId;
    }

    public Long getWorkAreaId() 
    {
        return workAreaId;
    }
    public void setPersonId(String personId) 
    {
        this.personId = personId;
    }

    public String getPersonId() 
    {
        return personId;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sectionId", getSectionId())
            .append("workAreaId", getWorkAreaId())
            .append("personId", getPersonId())
            .append("location", getLocation())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
